//
//  Loader.h
//  InTheSnow
//
//  Created by di on 7/30/09.
//  Copyright 2009 INTELLECTSOFT. All rights reserved.
//

#import <Foundation/Foundation.h>



@interface Loader : NSObject {
	// for downloading the xml data
    NSURLConnection *feedConnection;
	NSMutableData *data;
	int feed;
	bool isFirst;
	id<XMLParser> __parser;
}

@property(nonatomic, assign) id<XMLParser> __parser;
@property(nonatomic, retain) NSURLConnection *feedConnection;
@property(nonatomic, retain) NSMutableData *data;

- (id) initWithFeedType:(int)f parser:(<XMLParser>)parser;
- (void)handleError:(NSError *)error;

@end
